package com.csp.mingyue.system.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 系统用户响应类
 *
 * @author njy
 * @date 2023/8/30 20:25
 */
@Data
@Schema(description = "系统用户响应类")
public class SysUserVo {

	@Schema(description = "用户ID")
	private Long userId;

	@Schema(description = "用户名")
	private String username;

	@Schema(description = "用户昵称")
	private String nickname;

	@Schema(description = "用户性别（0男 1女 2未知）")
	private String sex;

	@Schema(description = "手机号码")
	private String phone;

	@Schema(description = "用户邮箱")
	private String email;

	@Schema(description = "头像")
	private String avatar;

	@Schema(description = "角色状态（0正常 1停用）")
	private String status;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

	@Schema(description = "修改时间")
	private LocalDateTime updateTime;

	@Schema(description = "创建者")
	private String createBy;

	@Schema(description = "更新人")
	private String updateBy;

	@Schema(description = "角色名称")
	private String roleName;

	@Schema(description = "角色编码")
	private String roleCode;

}
